<template>
  <div>
    <el-table
      :data="watchData"
      stripe
      style="width: 100%"
      tooltip-effect="dark"
    >
      <el-table-column prop="name" label="姓名" width="180"> </el-table-column>
      <el-table-column prop="sex" label="性别" width="180"> </el-table-column>
      <el-table-column prop="tel" label="联系电话" width="180">
      </el-table-column>
      <el-table-column prop="province,city,country,address" label="地址">
        <template slot-scope="scope">
          {{ scope.row.province }}{{ scope.row.city }}{{ scope.row.country
          }}{{ scope.row.address }}
        </template>
      </el-table-column>
      <el-table-column prop="action" label="操作" width="200">
      </el-table-column>
    </el-table>
  </div>
</template>

<script>
// import { mapMutations, mapState } from "vuex";
export default {
  props: ["watchData"],
};
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped lang="scss">
.header {
  margin-bottom: 10px;
}
.btnLeft {
  float: left;
}
.searchLeft {
  float: left;
}
.btnRight {
  float: right;
}
.footer {
  margin-top: 10px;
}
.inputWidth {
  width: 370px;
}
.cascader {
  margin-right: 10px;
}
</style>
